home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 8
/
Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso
/
Aminet
/
comm
/
fido
/
MM_ScriptSet1.lha
/
MM_FindSpotPirates.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-08-14
|
4KB
|
117 lines
/*
MM_FindSpotPirates.rexx v1.0 by Tomasz Nidecki
There appears to be a pirate keyfile for "Spot" going around
in Europe, which is especially visible in Poland. The key
has a number of #118. It is a so-called "revenge key" due to
the fact that Nico Francois, the creator of Spot has
supposively stopped working on an Amiga, which is not
confirmed by Nico himself. The original owner of the key, a
Belgian, supposively sold his Amiga and the key leaked out.
Since piracy on FIDO is illegal and non-confirmant with the
FIDO policy, I have prepared this robot for Mail Manager
which finds the Spot pirate keyfile in message taglines and
PID kludges and then sends a message to a Boss or an NC of
the point/node who commited the crime of using this file.
All nodes using Mail Manager, please, run this program
before your mail is exported in all areas where you suspect
such a key might be used. This will help fight shareware
piracy which is aimed against us all shareware authors.
Thank you.
Usage: rx MM_FindSpotPirates.rexx <echo_tag> <matrix_tag>
Repeat for each echo area, make sure the area is two-pass import.
Matrix_tag is the tag for the matrix area for the net that the
echo_tag belongs to.
Please feel free to modify the text of the message to put it
in your language or make it suit your needs or your style :)
You can also modify and use this robot if other pirate
keyfiles appear on networks, which I hope never will.
*/
address MAILMANAGER
PARSE ARG area_tag matrix_tag
MM_SearchMsgs area_tag search_stem '#?' '#?' '#?' !SENT
DO msg_num = 0 FOR search_stem.count
MM_ReadMsg area_tag search_stem.msg_num read_stem
MM_SearchInStem read_stem.foot found_stem '#?Spot#?118#?' STR
MM_SearchInStem read_stem.head found_stem2 '#?PID#?Spot#?118#?' STR
IF ((found_stem.count ~= 0) | (found_stem2.count ~= 0)) THEN
DO
header_stem.0 = '-------------------------------------------------------------'
header_stem.1 = 'This message was sent by MM_FindSpotPirates message robot'
header_stem.2 = 'Author of the original message: 'read_stem.from ' ' read_stem.fromaddr
header_stem.3 = 'Adressee of the original message: 'read_stem.to
header_stem.4 = 'Subject of the message: 'read_stem.subj
header_stem.5 = 'Area where the message was found: 'area_tag
header_stem.6 = 'Date when message was found: 'read_stem.date
header_stem.7 = '-------------------------------------------------------------'
header_stem.8 = 'The included message contains the evidence of using a pirate'
header_stem.9 = 'keyfile for *Spot* integrated Tosser/Scanner/Editor. This is not'
header_stem.10 = 'only non-confirmant with FIDO/Amiganet Policy but also highly'
header_stem.11 = 'illegal and immoral. Please intervene, as the author of this'
header_stem.12 = 'message falls under your responsibility. Thank you.'
header_stem.13 = '-------------------------------------------------------------'
header_stem.14 = ''
header_stem.15 = '-------------- BEGINNING OF INCLUDED MESSAGE ---------------'
header_stem.16 = ''
header_stem.count = 17
now_at_line = read_stem.foot.count
read_stem.foot.now_at_line = ''
now_at_line = now_at_line + 1
read_stem.foot.now_at_line = '------------------- END OF INCLUDED MESSAGE -------------------'
read_stem.foot.count = read_stem.foot.count+2
MM_WriteStem 't:mm.trans' header_stem
MM_WriteStem 't:mm.trans' read_stem.text APPEND
MM_WriteStem 't:mm.trans' read_stem.foot APPEND
boss = FindBoss(read_stem.fromaddr)
write_stem.from = 'MM_FindSpotPirates'
write_stem.fromaddr = '2:480/78.0@fidonet'
write_stem.to = 'Dear Sysop!'
write_stem.toaddr = boss
write_stem.subj = 'URGENT! Illegal activities!'
write_stem.flags = 'PVT KILL'
MM_WriteMsg matrix_tag write_stem
END
END
EXIT
/*
**
*/
FindBoss: PROCEDURE
PARSE ARG zone ':' net '/' node '.' point '@' domain
IF point ~= '0' THEN
DO
BossNode = zone':'net'/'node'@'domain
END
ELSE
DO
BossNode = zone':'net'/0@'domain
END
RETURN BossNode